ActiveReports 12
DelegateCommand<TParm> Constructor(Action<TParm>,Predicate<TParm>)

GrapeCity.ActiveReports.Viewer.Wpf.v12 Assembly > GrapeCity.Viewer.Common Namespace > DelegateCommand<TParm> Class > DelegateCommand<TParm> Constructor : DelegateCommand<TParm> Constructor(Action<TParm>,Predicate<TParm>)
Initializes a new instance of the DelegateCommand<TParm> class.
Syntax
'Declaration
 
Public Function New( _
   ByVal executeAction As Action(Of TParm), _
   ByVal canExecute As Predicate(Of TParm) _
)
public DelegateCommand<TParm>( 
   Action<TParm> executeAction,
   Predicate<TParm> canExecute
)

Parameters

executeAction
canExecute
See Also

Reference

DelegateCommand<TParm> Class
DelegateCommand<TParm> Members
Overload List